<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        body {
            margin: 0;
            height: 100vh;
            width: 100%;
        }
        .circle {
            height: 50px;
            width: 50px;
            outline: 5px solid red;
            border-radius: 50%;
            position: absolute;
            transform: translate(-50%, -50%);
        }
    </style>
</head>
<body>
    <!-- x: 100, y: 100 -->
    <!-- <div class="circle"></div> -->

    <script>
        document.body.addEventListener('click', function (e) {
            const circle = document.createElement('div');
            circle.setAttribute('class', 'circle');
            circle.setAttribute('style', `left: ${ e.clientX }px; top: ${ e.clientY }px;`);
            document.body.appendChild(circle);
        });
    </script>
</body>
</html>